﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HCSAnalyzer.Cell_by_Cell_and_DB
{
    public partial class FormForSingleCellDescOperations : Form
    {
        public FormForSingleCellDescOperations()
        {
            InitializeComponent();
        }

        private void comboBoxDescriptor1_SelectedIndexChanged(object sender, EventArgs e)
        {
            UpdateDescName();
        }

        private void comboBoxDescriptor2_SelectedIndexChanged(object sender, EventArgs e)
        {
            UpdateDescName();
        }

        private void domainUpDown1_SelectedItemChanged(object sender, EventArgs e)
        {
            UpdateDescName();
        }

        void UpdateDescName()
        {
            this.textBoxNewDescName.Text = comboBoxDescriptor1.Text + " " 
                                            + domainUpDown1.Text + " " 
                                            + comboBoxDescriptor2.Text;
        }



    }
}
